body {
  position: relative;
  font-family: "微软雅黑";
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  color: #ccc;
  --bg: #26254d;
  --c0: #293c55;
  --c1: #070f4a;
  --c2: #223165;
  --c3: #8E2DE2;
  --c4: #26254d;
  --c5: #A488D8;
  --c6: #2F0094;
  --c7: #480FBB;
  --c8: #fff;
  --c9: #FF0046;
  --c10: #67EDFD;
  --c11: #005C8A;
  --c12: #3EBB33;
  --c13: #C3C3C3;
  --c14: #5CB85C;
  --c15: #3EBB33;
  --c16: #D4C500;
  --c17: #FF0000;
  --c18: #0072FF;
  --c19: #A0A0A0;
  --c20: #F74F4E;
  --c21: #3AEB3C;
  --c22: #BE68F6;
  --c23: #08BAD6;
  --c24: #1EC8A5;
  --c25: #1B38A6;
  --c26: #28CE57;
  --c27: #35B7BA;
  --c28: #0A2043;
  --c29: #2A2670;
  --c30: #2da3e2;
  --c31: #1a90d0;
  --c32: #3868ac;
  --c33: #228ebd2c;
  --c34: #F39800;
  --c35: #147cc6;
  --c36: #E87722;
  --c37: #1FC9A5;
  --c38: #2d6fec;
  --c39: #E00000;
  --c40: #0FA622;
  --c41: #1ED8E2;
  background-color: var(--c2);
}

p {
  margin: 0;
}

/* 禁止点击 */
.notclick {
  pointer-events: none;
}

/* 滤镜 */
.filter {
  filter: opacity(.5);
  -webkit-filter: opacity(.5);
}

button {
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  outline: none;
}

select {
  border: solid 1px #be6500;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
}

select::-ms-expand {
  display: none;
}

select:focus {
  outline: none;
}

option {
  color: #000 !important;
  background: transparent !important;
}

.text_c {
  text-align: center;
}

@font-face {
  font-family: 'iconfont';
  src: url('font/iconfont.eot');
  src: url('font/iconfont.eot?#iefix') format('embedded-opentype'),
    url('font/iconfont.woff2') format('woff2'),
    url('font/iconfont.woff') format('woff'),
    url('font/iconfont.ttf') format('truetype'),
    url('font/iconfont.svg#iconfont') format('svg');
}

.iconfont,
.leftBtn {
  cursor: pointer;
}

.mp0 {
  padding: 0;
  margin: 0;
}

.p2 {
  padding: 2% 2% 0 2%;
}

.border_shadow {
  box-shadow: 0px 0px 20px #c596ee inset;
  padding: 8px;
}

.f_l {
  float: left !important;

}

.f_r {
  float: right !important;
}

.f2_5w {
  font-size: 2.5vw !important;
}

.f1w {
  font-size: 1.2vw !important;
}

.hidden {
  display: none;
}

/* common */
.flex-cc {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-sc {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  justify-content: space-evenly;
  align-items: center;
}

.flex-ec {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.flex-st {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.flex-sb {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 换行纵向居中 */
.flex1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

/* 不换行横向居中 */
.flex2 {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 换行横纵居中 */
.flex3 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

input {
  outline: none;
  border: none;
}

.w100 {
  width: 100%;
}

.h100 {
  height: 100%;
}

.bodySpan {
  height: calc(100% - 30px);
}

.bodySpan1 {
  height: calc(100% - 70px);
}

/* head  */
.left-nav {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(#33365e, #26254d);
  overflow-y: hidden;
  min-height: 100vh;
  z-index: 999;
  transition: all .2s;
  -webkit-transition: all .2s;
  -moz-transition: all .2s;
  -ms-transition: all .2s;
  -o-transition: all .2s;
}

.nav_w4 {
  width: 3.5vw;
  overflow: hidden;
}

.nav_w11 {
  width: 11vw;
  overflow: visible;
}

.top-head {
  position: fixed;
  top: 0;
  left: 0;
  height: 8vh;
  width: 100%;
  line-height: 8vh;
  background-color: var(--bg);
  z-index: 99999;
}

.left_4 {
  margin-left: 3.5vw;
}

.left_11 {
  margin-left: 11vw;
}

.top-head .col-xs-4 {
  height: 100%;
}

.menu-img {
  height: 100%;
}

.h_title {
  font-size: 2.5vw;
  font-weight: 700;
  color: var(--c8);
  padding-left: 7vw;
}

.modeBtn {
  font-size: 1.2vw;
  border-radius: 20px;
  width: 35%;
  line-height: 5vh;
  margin-left: .8vw;
  color: var(--c8);
  background-color: transparent;
  border: 1px solid #6780E6;
}

.modeBtn:hover,
.modeBtn:active,
.modeBtn:visited {
  background-color: var(--c31);
}

.modeBtn_active {
  background-color: var(--c31);
}

.nav li {
  width: 11vw;
  height: 8vh;
}

.nav li a {
  display: inline-block;
  width: 100%;
  line-height: 8vh;
  font-size: 1.5em;
  color: var(--c5);
  padding: 0 0 0 .4vw !important;
}

.nav .i {
  float: right;
  padding: 0 2vw 0 0;
  text-align: left;
  font-size: 1.2vw;
}

.nav li:hover,
.nav li:visited,
.nav li:active,
.nav a:hover,
.nav a:visited,
.nav a:active {
  background-color: var(--c6) !important;
}

.nav_active {
  background-color: var(--c6) !important;
  color: var(--c8) !important;
}

.alarmTxt {
  padding: 0 2%;
  color: var(--c9);
}

#closeNav {
  text-align: right;
  padding-right: 2vw !important;
}

/* 环境 */
.contain {
  color: #f1f1e8;
  margin-top: 8vh;
  transition: all .2s;
  -webkit-transition: all .2s;
  -moz-transition: all .2s;
  -ms-transition: all .2s;
  -o-transition: all .2s;
}

.contain_left4 {
  margin-left: 4vw !important;
}

.contain_left11 {
  margin-left: 11vw !important;
}

.row .span {
  height: 45.5vh !important;
  background-color: var(--c4);
  padding: 1% 1% 0 1%;
}

.row .span:nth-child(1),
.row .span:nth-child(3) {
  padding-right: 0%;
}

.row .messSpan {
  position: relative;
  border: 1px solid #9680C0;
  height: 100%;
}

.p1 {
  padding: 1%;
}

.p_tit {
  height: 20px;
  line-height: 20px;
  font-size: 1.2vw;
}

.p_setVal {
  text-align: right;
  margin-right: 1vw;
  float: right;
  font-size: 2vw;
}

.p_m3h {
  margin-bottom: 10px;
}

.envSum {
  height: 3vh;
  background-color: var(--c11);
}

.lightVal,
.humiVal,
.tempVal {
  width: 0%;
  height: 100%;
  background-color: var(--c12);
}

/* .tempVal {
  background-color: var(--c9);
} */

/* #lightVal {
  width: 50%;
  height: 100%;
}

#tempVal {
  width: 50%;
  height: 100%;
}

#humiVal {
  width: 50%;
  height: 100%;
} */

.lightValTxt {
  color: var(--c10);
  font-size: 1vw;
}

.row_height {
  /* margin: 7vh auto; */
}

.h60 {
  margin-top: 5vh;
  height: 60%;
}

.envBottom {
  height: 85%;
}

.hisChar_sun,
.hisChar_temp,
.hisChar_humi,
.hisChar_PM,
.hisChar_CO2,
.hisChar_VOC {
  height: 90%;
}

.hisNav {
  margin-top: 3%;
  height: 90%;
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
}

.hisBtn {
  border: 1px solid #A6A2E9;
  width: 52%;
  height: 30%;
  line-height: 5vh;
  margin-top: 2%;
  /* margin: 38% auto; */
  font-size: 1.2vw;
  /* padding: 7% 0%; */
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  /* word-wrap: break-word; */
}

.hisBtn:active,
.hisBtn:hover {
  background-color: var(--c31);
}

.his_active {
  background-color: var(--c31);
}

.hisBtn1 {
  width: 138%;
  height: 10%;
  line-height: 3.5vh;
  padding: 0 0%;
  transform: rotate(90deg);
  margin-top: 50%;
  margin-right: -45%;
}

.hisTime {
  position: absolute;
  right: 2%;
  top: 2%;
  font-size: 1vw;
  width: 20%;
  height: 3.5vh;
  background-color: transparent;
  padding: 0 2%;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  z-index: 1;
}

.seachIco {
  position: absolute;
  right: 3%;
  top: 2%;
  font-size: 2vw;
  color: #fff;
}

.envHis {
  height: 100%;
}

option {
  color: #fff !important;
  background: #23007E !important;
}

.pullIco {
  position: absolute;
  right: 5%;
  top: 1.5vh;
  font-size: 1vw;
}

.buttonMess {
  height: 30px;
}

/* 控制 */
.control {
  height: 82%;
}

.control .light1,
.control .socket1,
.control .socket2,
.control .light2 {
  position: relative;
  width: 85%;
  height: 88%;
  background: var(--c6);
  margin: 0% auto;
}

.p_next {
  padding: .5vw 1vw;
  font-size: 1vw;
}

.rowBtn {
  float: right;
  /* width: 18%; */
  text-align: right;
}

.rowBtn1 {
  text-align: center;
}

.rowBtn2 {
  float: left;
}

.ele_bot {
  width: 30%;
  padding-top: 1vw;
}

.ele_bot1 {
  width: 30%;
  padding-top: 1vw;
}

.ele_bw3 {
  width: 30%;
}

.ele_bot p{
  font-size: .9vw;
  font-weight: bold;
}

.ele_bot p:nth-child(2),#eleMore p:nth-child(6){
  font-size: .6vw;
  font-weight: normal;
  margin-bottom: 1.5vw;
}
#eleMore p:nth-child(2){
  font-size: .9vw;
  font-weight: bold;
  margin-bottom: 0;
}



input[type="checkbox"] {
  display: none;
}

input[type="checkbox"]+label {
  display: inline-block;
  width: 40px;
  height: 20px;
  position: relative;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  box-sizing: border-box;
}

input[type="checkbox"]+label:after {
  content: '';
  display: block;
  position: absolute;
  left: 0px;
  top: 0px;
  width: 20px;
  height: 20px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  cursor: pointer;
}

#inset_3:checked+label.green,
#inset_4:checked+label.green,
#inset_5:checked+label.green,
#inset_6:checked+label.green,
#inset_7:checked+label.green,
#inset_8:checked+label.green,
#inset_9:checked+label.green,
#inset_10:checked+label.green,
#inset_11:checked+label.green,
#inset_12:checked+label.green,
#inset_13:checked+label.green {
  background: var(--c12)
}

#inset_3:checked+label.green:after,
#inset_4:checked+label.green:after,
#inset_5:checked+label.green:after,
#inset_6:checked+label.green:after,
#inset_7:checked+label.green:after,
#inset_8:checked+label.green:after,
#inset_9:checked+label.green:after,
#inset_10:checked+label.green:after,
#inset_11:checked+label.green:after,
#inset_12:checked+label.green:after,
#inset_13:checked+label.green:after {
  background: var(--c8);
}

#inset_3:checked+label:after,
#inset_4:checked+label:after,
#inset_5:checked+label:after,
#inset_6:checked+label:after,
#inset_7:checked+label:after,
#inset_8:checked+label:after,
#inset_9:checked+label:after,
#inset_10:checked+label:after,
#inset_11:checked+label:after,
#inset_12:checked+label:after,
#inset_13:checked+label:after {
  left: calc(100% - 18px);
}

#inset_3+label,
#inset_4+label,
#inset_5+label,
#inset_6+label,
#inset_7+label,
#inset_8+label,
#inset_9+label,
#inset_10+label,
#inset_11+label,
#inset_12+label,
#inset_13+label {
  border-radius: 5px;
  background: var(--c13);
}

#inset_3+label:after,
#inset_4+label:after,
#inset_5+label:after,
#inset_6+label:after,
#inset_7+label:after,
#inset_8+label:after,
#inset_9+label:after,
#inset_10+label:after,
#inset_11+label:after,
#inset_12+label:after,
#inset_13+label:after {
  background: var(--c8);
  border-radius: 50%;
  width: 16px;
  height: 16px;
  top: 2px;
  left: 2px;
}

.lightImg {
  font-size: 5vw;
  text-align: center;
  padding: 0 30%;
  color: var(--c19);
}

.lightSwitch {
  width: 100%;
  text-align: center;
  cursor: pointer;
}

.lightSwitch1 {
  display: inline-block;
  width: 2vw;
  height: 2vw;
  line-height: 2vw;
  background-color: var(--c19);
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.lightSwitch_green {
  background-color: var(--c15);
}

.lightSwitch_yellow {
  background-color: var(--c16);
}

.lightSwitch_red {
  background-color: var(--c17);
}

.eleDiv1 {
  height: 19vh;
}

.ele_top {
  width: 7vw;
  height: 7vw;
  float: left;
  margin: 1vw;
  border-radius: 100%;
  background-size: 5vw;
  padding: .5vw 1.5vw;
  background-color: var(--c19);
}

.ele_top1 {
  padding-top: 1vw;
  padding-left: 1vw;
  background-color: var(--c19);
}

.ele_top2 {
  padding-top: 1vw;
  padding-left: 1.5vw;
  background-color: var(--c19);
}

.ele_top3 {
  padding-top: 1vw;
  padding-left: 1.7vw;
  background-color: var(--c19);
}

.stateImg1 {
  font-size: 4vw;
}

.stateImg2 {
  font-size: 3.5vw;
}

.telecontrol {
  width: 100%;
  height: calc(100% - 30px);
}

.telImg {
  display: inline-block;
  width: 49%;
  font-size: 12vw;
  text-align: center;
  color: var(--c18);
}

.telSetIco {
  font-size: 2vw;
}

.telSetIco {
  position: absolute;
  right: 4%;
  top: 3%;
}

.pullIco1 {
  position: absolute;
  right: 18%;
  top: 2%;
}

.hisTime1 {
  position: absolute;
  right: 15%;
  top: 2%;
  z-index: 1;
}

.mode_table {
  float: right;
  width: 20vw;
  margin-right: 1vw;
  text-align: center;
}

.mode_table tr {
  height: 8vh;
}

.mode_table td {
  position: relative;
}

.mode_table td:active {
  background-color: var(--c25);
}

.mode_table .id-letter {
  position: absolute;
  top: 0.25vw;
  right: 0.5vw;
  color: var(--c10);
}

.mode_txt {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

/* 安防 */
.state {
  width: 10vw;
  height: 70%;
  margin: 10% auto;
}

.border_shadow {
  box-shadow: 0px 0px 20px #1B38A6 inset;
  padding: 8px;
}

.stateImg {
  font-size: 5vw;
  color: var(--c19);
}

.stateImg {
  font-size: 6vw;
}

.stateTxt {
  font-size: 1.2vw;
}

.lockImg {
  font-size: 10vw;
  color: var(--c19);
}

.NameTop {
  width: 100%;
  height: 8vh;
  line-height: 8vh;
}

.name,
.ID {
  float: left;
  width: 20%;
  height: 100%;
}

.name {
  background-color: var(--c26);
}

.ID {
  background-color: var(--c27);
}

.camera {
  display: flex;
  justify-content: center;
  width: 100%;
  height: calc(100% - 30px);
}

.cameraImg {
  max-width: 100%;
  max-height: 100%;
}

.nameMess,
.IDMess {
  float: left;
  width: 70%;
  height: 100%;
  font-weight: 700;
  font-size: 1.2vw;
  background-color: var(--c28);
}

.nameMess {
  color: var(--c26);
}

.IDMess {
  color: var(--c27);
}

.NameTop1 {
  margin-top: 5vh;
}

.lockMess {
  padding: 5% 0;
}

.leftBtn {
  display: inline-block;
  font-size: 1vw;
  border: 1px solid #8E2DE2;
  border-radius: 20px;
  padding: 2px 9px;
}

.rightBtn {
  display: inline-block;
  font-size: 1.6vw;
  position: absolute;
  right: 4%;
  top: 5%;
}

.buttonS {
  height: 30px;
  margin-top: 10px;
}

.hisTab {
  width: 100%;
  height: calc(100% - 65px);
  overflow: scroll;
}

table,
tr,
th,
td {
  border: 1px solid #228fbd;
}

.TheID,
.TheHis,
.TheUnusual {
  width: 100%;
  border-collapse: collapse;
  font-size: .8vw;
  color: #fff;
  table-layout: fixed;
  margin-top: 1vh;
  text-align: center;
  overflow: hidden;
}

.TheID th,
.TheID td,
.TheHis th,
.TheHis td,
.TheUnusual th,
.TheUnusual td {
  padding-top: .4vh;
  padding-bottom: .4vh;
  color: var(--c10);
}

.TheID a {
  color: var(--c10);
}

.TheID th,
.TheHis th,
.TheUnusual th {
  background-color: var(--c33);
  text-align: center;
}

.TheHis_active {
  background-color: var(--c32)
}

.TheID td .TheHis td {
  color: #ddd;
}

.active {
  background-color: rgba(56, 104, 172, 0.8);
}

.TheID tr:hover {
  background: rgba(56, 104, 172, 0.8);
}

.quan {
  width: 7vw;
  height: 7vw;
  float: left;
  margin: 1vw;
  /* background-color: #008B8B; */
  border: 2px solid #aaa;
  border-radius: 100%;
  background-size: 5vw;
}

.quan .i {
  font-size: 4vw;
  text-align: center;
  color: var(--c19);
  line-height: 7vw;
}

.quan .i1 {
  font-size: 5vw;
}

.red {
  color: red !important;
  border-color: red;
}

/* 更多信息 */
.setting {
  height: 48vh;
  background: #005C8A;
}

.setTit {
  display: inline-block;
  width: 20%;
  text-align: right;
}

.setVal {
  width: 50%;
  margin-left: 5%;
  padding: .3vw;
  background-color: var(--c29);
  border: 1px solid #1955AC;
}

.setSpan {
  margin-top: 3%;
}

.setBtns {
  /* position: absolute;
  bottom: 8%;
  left: auto;
  width: 100%; */
}

.setBtn {
  width: 18%;
  height: 30px;
  line-height: 30px;
  margin: 0 2vw;
  background-color: var(--c30);
  border-radius: 20px;
  color: var(--c8);
  /* border: 1px solid #1955AC; */
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.setBtn_active {
  background-color: var(--c34);
}

.setBtn1:active {
  background-color: var(--c31);
}

.setBody {
  height: calc(100% - 70px);
  overflow: scroll;
}

.setBody1 {
  height: calc(100% - 30px);
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(transparent transparent);
  border-radius: .2vw;
  -webkit-border-radius: .2vw;
  -moz-border-radius: .2vw;
  -ms-border-radius: .2vw;
  -o-border-radius: .2vw;
}

::-webkit-scrollbar {
  width: .1vw;
  height: .2vh;
}

.verBtn {
  width: 40%;
  margin: 0 auto;
}

/* 弹窗样式 */
.nstSlider {
  width: 20vw;
}

.envContent {
  color: var(--c8);
  background-color: var(--c35);
}

.nstSlider .bar {
  background-color: var(--c36);
}

.envSave {
  width: 100%;
  height: 8vh;
  padding-top: 3vh;
  text-align: center;
}

.envSaveBtn {
  width: 35%;
  height: 5vh;
  background-color: var(--c30);
  border: 1px solid #743FDA;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.envSaveBtn:active {
  background-color: var(--c31);
}

/* 边框 */
.border_lt {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 1vw;
  height: 1vw;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
}

.border_rt {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 1vw;
  height: 1vw;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.border_lb {
  position: absolute;
  left: -1px;
  bottom: -1px;
  width: 1vw;
  height: 1vw;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.border_rb {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 1vw;
  height: 1vw;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
}

.c10_lt {
  border-top: 1px solid #67EDFD;
  border-left: 1px solid #67EDFD;
}

.c10_rt {
  border-top: 1px solid #67EDFD;
  border-right: 1px solid #67EDFD;
}

.c10_lb {
  border-left: 1px solid #67EDFD;
  border-bottom: 1px solid #67EDFD;
}

.c10_rb {
  border-right: 1px solid #67EDFD;
  border-bottom: 1px solid #67EDFD;
}


/* 添加电器模态框 */
.es-list {
  background-color: var(--c35);
}

#newElecName {
  background: #fff;
}

.es-list li.selected {
  background-color: #1E90FF;
}

/* 摄像头 */
.flex {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
}

.camera-control {
  text-align: center;
  margin-left: -2vw;
}

.control-direc {
  position: relative;
  width: 15vw;
  height: 15vw;
  /*margin:0 auto;*/
  background: #ddd;
  border-radius: 100%;
  float: left;
  opacity: 0.6;
}

.camera-info {
  position: absolute;
  top: 17%;
  left: 5%;
}

.camera-info .btn-group {
  white-space: nowrap;
  width: 35vw;
}

.control-direc table tr {
  height: 5vw;
}

.control-direc table tr td {
  width: 5vw;
  text-align: center;
  white-space: nowrap;
  border-color: transparent;
}

.camera-table {
  width: 15vw;
}

.direc {
  width: 4vw;
  height: 4vw;
  border: 0;
  background-image: url('../img/top_off.png');
  background-repeat: no-repeat;
  background-size: 4vw;
  background-color: transparent;
  -webkit-transition: all 0.1s;
  transition: all 0.1s;
}

.hidden2 {
  visibility: hidden;
  width: 5vw;
}

.direc_top_on:active {
  background-image: url('../img/top_active.png') !important;
}

.direc_top_on {
  background-image: url('../img/top_on.png') !important;
}

.direc_bottom_on {
  background-image: url('../img/bottom_on.png') !important;
}

.power_on {
  background-image: url('../img/power_on.png') !important;
}

.up.direc_top_on:active {
  /*-webkit-transform: scale(1.2);*/
  /*transform: scale(1.2);*/
}

.right {
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}

.right.direc_top_on:active {
  /*-webkit-transform: rotate(90deg) scale(1.2);*/
  /*transform: rotate(90deg) scale(1.2);*/
}

.bottom {
  background-image: url('../img/bottom_off.png');
}

.direc_bottom_on:active {
  background-image: url('../img/bottom_active.png') !important;
  /*-webkit-transform: scale(1.2);*/
  /*transform: scale(1.2);*/
}

.left {
  -webkit-transform: rotate(270deg);
  transform: rotate(270deg);
}

.direc_top_on:active {
  /*-webkit-transform: rotate(270deg) scale(1.2);*/
  /*transform: rotate(270deg) scale(1.2);*/
}

.power {
  background: url('../img/power_off.png') no-repeat center center;
  background-size: 3.5vw;
}

.power_on:active {
  background: url('../img/power_on.png') no-repeat center center;
  background-size: 3.5vw;
}

.camera-info {
  z-index: 99;
  width: 100%;
}

.control-mode {
  margin-left: 2vw;
  width: 19vw;
}

.btn-block+.btn-block {
  margin-top: 0;
}

#qrDiv {
  width: 200px;
  height: 200px;
  text-align: center;
  margin: 2vw auto;
}

#updateTxt {
  position: relative;
  width: 100%;
  border-radius: 10px;
  background: rgba(3, 88, 129, 0.3);
  padding: 1vw;
  text-indent: 1vw;
  text-align: left;
  z-index: 1;
  max-height: 30vh;
  overflow-y: auto;
}

.version-list {
  margin-bottom: 20px;
}

.version-list dl {
  line-height: 30px;
  overflow: hidden;
}

.version-list dl dt,
.version-list dl dd {
  float: left;
}

#clear {
  display: block;
  margin: 0 auto;
}

/* 颜色状态 */
.color_online {
  color: var(--c41);
}

.btn-danger {
  background-color: red;
}

.bg_green {
  background-color: var(--c26);
}

.bg_yellow {
  background-color: var(--c34);
}

.bg_red {
  background-color: var(--c39);
}

.font_green {
  color: var(--c26);
}

.font_yellow {
  color: var(--c34);
}

.font_red {
  color: var(--c39);
}

.ele_top_curtain {
  background-color: var(--c38);
}

.ele_top_ambient {
  background-color: var(--c18);
}

.ele_top_lighting {
  background-color: var(--c39);
}

.ele_top_fan {
  background-color: var(--c40);
}

.ele_top_purifier {
  background-color: var(--c38);
}

.ele_top_fridge {
  background-color: var(--c18);
}

.ele_top_VRV {
  background-color: var(--c39);
}

.ele_top_humi {
  background-color: var(--c40);
}

.ele_top_more {
  background-color: var(--c41);
}

.telecontrol_color {
  color: var(--c25);
}

.modal-dialog {
  width: 380px !important;
  margin: 8vw auto;
}

.modal-dialog1 {
  width: 680px !important;
}

.modal {
  z-index: 99999999;
}

#shareModalTitle {
  font-weight: bolder;
  color: red !important;
}

.qr-txt {
  line-height: 2vw;
}

.qr-txt2 {
  font-size: 0.8vw;
  font-weight: 900;
  text-align: center;
}

#qrDiv {
  width: 200px;
  height: 200px;
  text-align: center;
  margin: 2vw auto;
}

#updateTxt {
  position: relative;
  /* background-color: #eee; */
  padding: 1vw;
  text-indent: 1vw;
  text-align: left;
  z-index: 1;
  max-height: 200px;
  overflow-y: auto;
}

#clear {
  display: block;
  margin: 0 auto;
}

#toast {
  z-index: 1041;
  position: absolute;
  left: 50%;
  bottom: 3rem;
  opacity: 0;
  transform: translateX(-50%);
  font-size: 1.2vw;
  border-radius: 8px;
  padding: 0.8em 1.25em 0.8em 1.5em;
  color: #f1f1e8;
  transition: all ease-in-out 0.15s;
  background: var(--bg);
  border: 1px solid #0E2341;
  box-shadow: 0px 3px 10px rgba(93, 168, 112, 0.5);
  pointer-events: none;
}

.toast_show {
  bottom: 4rem !important;
  opacity: 1 !important;
}

/* fit  */
@media (max-width: 768px) {
  .row .span {
    height: 91vh !important;
  }

  .p0 {
    padding: 0px;
  }

  .left-nav {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(#0d47c3, #501A71);
    overflow-y: hidden;
    min-height: 100vh;
    z-index: 999;
  }

  .nav .i {
    float: right;
    padding: 0;
    text-align: left;
    font-size: 1.2vw;
  }

  .top-head {
    position: fixed;
    top: 0;
    left: 0;
    height: 8vh;
    width: 100%;
    z-index: 9999;
  }

  .contain {
    margin-left: 0;
    margin-top: 8vh;
  }

  .menu-img {
    display: inline-block !important;
    margin-right: 10%;
  }

  .row .span:nth-child(1),
  .row .span:nth-child(3) {
    padding-right: 1%;
  }

  #closeNav {
    text-align: right;
    padding-right: .5vw !important;
  }

  .p1 {
    padding: .2% .5%;
  }

  .envSum {
    height: 5vh;
  }

  .row_height {
    /* margin: 6vh auto; */
  }

  .hisNav {
    margin-top: 2%;
  }

  .hisBtn {
    border: 1px solid #A6A2E9;
    width: 24%;
    margin: 0% 38%;
    border-radius: 30%;
    font-size: 1.2vw;
    padding: 1%;
    line-height: 4.5vh;
  }

  .hisBtn1 {
    width: 30%;
    height: 17%;
    line-height: 5vh;
    padding: 0 0%;
    transform: rotate(90deg);
    margin-top: 8%;
    margin-right: 33%;
  }

  .state {
    width: 11vw;
  }

  /* 控制 */
  .lightImg {
    font-size: 12vw;
  }

  .lightSwitch1 {
    width: 3vw;
    height: 3vw;
    line-height: 3vw;
    font-size: 2vw;
  }

  .mode_table {
    width: 43vw;
  }

  .eleDiv1 {
    padding-left: 2vw;
  }

  .ele_bot {
    padding-top: 0;
  }

  .ele_top {
    width: 14vw;
    height: 14vw;
    padding: .5vw 2.5vw;
    margin-right: 2vw;
  }

  .stateImg1 {
    font-size: 9vw;
  }

  .ele_bot1 {
    padding-top: 2vw;
  }

  .telImg {
    font-size: 24vw;
  }

  .mode_table tr {
    height: 16vh;
  }

  .quan {
    width: 14vw;
    height: 14vw;
  }

  .quan .i {
    font-size: 8vw;
    line-height: 14vw;
  }

  .stateTxt {
    font-size: 2vw;
  }

  .camera-info {
    position: absolute;
    top: 19%;
    left: 5%;
  }

  .control-direc {
    width: 30vw;
    height: 30vw;
  }

  .camera-table {
    width: 30vw;
  }

  .control-direc table tr {
    height: 11vw;
  }

  .control-direc table tr td {
    width: 15vw;
  }

  .lockImg {
    font-size: 20vw;
  }

  .NameTop {
    height: 16vh;
    line-height: 17vh;
  }

  /* 更多信息 */
  .setBtn {
    width: 14%;
    height: 30px;
    line-height: 30px;
    margin: 1vw 2vw;
  }

  .setSpan {
    margin-top: 1%;
  }

  /* .verBtn1 {
    display: none;
  }

  #updateTxt {
    display: none;
  } */

  .modal-dialog {
    width: 70vw !important;
  }

  .nstSlider {
    width: 40vw;
  }

  /* .modal-dialog1 {
    width: 680px !important;
  } */

  .envSave {
    height: 10vh;
  }

  .envSaveBtn {
    height: 9vh;
  }

  #clear {
    display: none;
  }
}